<?php
    if (!defined("PATH_HD"))exit;
    $appConfig =array(
        "TPL_DIR"=>PATH_ROOT.'/template',
        "debug"=>1,
        "TPL_TAGS" => "tag",
        "ALWAYS_COMPILE_TPL"=>1
    );
    $globalConfig = include "./data/config/config.php";
    $dbConfig = include "./data/config/db.php";
    $config= array_merge($appConfig,$globalConfig,$dbConfig);
    $config['TPL_STYLE'] = $config['tplstyle'];
    return $config;
?>